home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
dcom20.zip
/
DCOM.DOC
< prev
next >
Wrap
Text File
|
1991-08-25
|
6KB
|
189 lines
DCOM V2.0 Serial Data Analyzer Page 1
DCOM is a simple but useful datacom capture program that runs on a PC or
AT compatable machine. Two serial ports are required. Data is captured
as it flows in from both ports The data is then directed out to the opposite
port that it was received from. Although no additional hardware is required,
additional serial cables to connect to the PC are required.
This program is being distributed as Shareware.
If this program is of any use to you then you should
register your copy by sending $35.00 (US) to the author.
With registration the latest version and documentation of the program
(without the starup screen) will be sent along with some additional
features (Macro keys and some basic ANSI terminal emulation).
Send all registrations to:
Jim Davis (CID 76535,2156)
1074 Hetrick Avenue
Arroyo Grande, CA 93420
Make check payable to Jim Davis.
Assume the following duplex connection between device 1 and 2 (figure 1).
Data is flowing between the two devices. There may be some problem, but
there isn't an easy way to tell whats wrong without interrupting the
connection and stopping the protocol.
/----------\ /----------\
| | | |
| Device 1 | | Device 2 |
| | | |
\----------/ \----------/
\ /
\ /
\ Data [x]-> /
----------------------------------
<-Data [y]
(figure 1)
DCOM V2.0 Serial Data Analyzer Page 2
With DCOM running on the PC (figure 2), the data will be captured,
displayed, and then sent to the remote device (in both directions).
The serial data can be examined as it happens, or viewed later from the
captured data buffer or saved to disk and printed.
/----------\ /----\ /----------\
| | |Data| | |
| Device 1 | |xy | | Device 2 |
| | | | | |
\----------/ \----/ \----------/
\ |---------| /
\ | PC DCOM | /
\ Data [x]-> |---------| /
--------------Port 1 /
Port 2-------------
<-Data [y]
(figure 2)
DCOM supports data rates of 300, 600, 1200, 2400, 4800, 9600, 19200, 38400,
57600, and 115200 bps. Note: When running full duplex, a 4MHz PC can keep
up with data at about 1200 bps. On a 12 MHz AT at full duplex rates of
9600 bps can be supported. If an overrun occurs, a message is printed to
that effect.
DCOM displays the data from each port in different colors so that it can
be easily examined. The baud rate and color for each of the ports are
in the DCOM.CFG file. The colors cannot be changed once the program
starts.
DCOM accepts command line parameters to change the baud rate and
port colors. The command line parameters will change the contents of
the DCOM.CFG file. The command line is as follows:
DCOM [baud_rate color1 color2]
where baud_rate is 300, 600, 1200, 2400, 4800, 9600, ...
color1 is 0, 1, 2, 3, 4, 5, 6, .. 15
color2 is 0, 1, 2, 3, 4, 5, 6, .. 15 (can't be same!)
DCOM V2.0 Serial Data Analyzer Page 3
Help Screen
A simple help screen is available when online by pressing the F1 key.
Here is a brief explaination of what the options are.
Display Commands
----------------
[+] and [-]
The display commands are used to turn on and off the output to the screen
as the characters are received at the data ports. Turn the display off
when it is not necessary to view characters.
[A]scii Toggle
The display mode can be toggled between ASCII and HEX. In HEX mode the
ASCII equivalent is shown on the right side of the screen.
[ESC]
The escape key will clear the screen.
System Commands
---------------
[1] and [2]
The system commands [1] and [2] open the com ports (1 & 2) for sending data
from the keyboard. All keys entered on the keyboard are sent to the open
port except the F10 key which is the only way to CLOSE the port and return to
the program.
[F2]
The baud rate can be changed once the program is started. Note that changing
the baud rate amid communications may generate some really wierd characters.
[F10]
To exit the program the F10 key is pressed and then confirmed.
DCOM V2.0 Serial Data Analyzer Page 4
Buffer Commands
---------------
The data buffer will hold up to 16384 characters. Any bytes sent beyond this
limit will be lost although they are still displayed to the screen. The
buffer commands are used to navigate through the buffer from top to bottom
and to save the buffer to disk.
[HOME], [END]
Move the pointer to the beginning (or end) of the buffer and display the next
(or last) 256 characters.
[PG UP], [PG DWN]
Move the pointer 256 bytes up or down in the the buffer and display the next
256 characters.
[DEL]
The delete key is used to delete the contents of the buffer and start over.
Cursor Up [], Cursor Down []
Move the pointer 16 bytes up or down in the the buffer and display the next
256 characters.
[S]ave
Save the entire buffer to the disk file DCOM.BUF. Successive saves will
append the buffer to the end of the DCOM.BUF file (The first save will
clear out the old file contents.)
Happy Data Comm Analysis. Please send all inquiries and or suggestions
to the address noted above.